﻿//
// *************************************************************************************
// WP-Framework
// 
// Developed by
// Lukas Kretschmar (lkretschmar.dev@bluewin.ch)
//
// Switzerland, Copyright (c) 2013 lkretschmar
// This content is released under the MIT License (http://opensource.org/licenses/MIT).
//     
// *************************************************************************************
//
//


using System;

namespace KretschIT.WP_Fx.EasyMoq.Test.Helpers.Objects
{
    class TestEventsMockable : Mockable<ITestEvents>, ITestEvents
    {
        public event EventHandler SimpleDone;

        public void RaiseSimpleDoneEvent(object sender, EventArgs e)
        {
            if (this.SimpleDone != null)
            {
                this.SimpleDone(sender, e);
            }
        }

        public event EventHandler<CustomEventArgs> CustomDone;

        public void RaiseCustomDoneEvent(object sender, CustomEventArgs e)
        {
            if (this.CustomDone != null)
            {
                this.CustomDone(sender, e);
            }
        }


        public void Action()
        {
            throw new NotImplementedException();
        }

        public int Func()
        {
            throw new NotImplementedException();
        }

        public string Property
        {
            get { throw new NotImplementedException(); }
            set { throw new NotImplementedException(); }
        }
    }
}
